package com.ywdj.framework.rest

import lombok.extern.slf4j.Slf4j
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

@RestController
@RequestMapping("rest")
class TestController {
    @GetMapping(value = ["test"])
    fun test(): Map<String, Any> {
        return mapOf("a" to "1", "b" to 2, "c" to 3L)
    }
}